Value | Meaning |
---|---|
AINPUT_SOURCE_CLASS_MASK0x000000ff | mask |
AINPUT_SOURCE_CLASS_NONE0x00000000 | none |
AINPUT_SOURCE_CLASS_BUTTON0x00000001 | button |
AINPUT_SOURCE_CLASS_POINTER0x00000002 | pointer |
AINPUT_SOURCE_CLASS_NAVIGATION0x00000004 | navigation |
AINPUT_SOURCE_CLASS_POSITION0x00000008 | position |
AINPUT_SOURCE_CLASS_JOYSTICK0x00000010 | joystick |
Input source masks.
Refer to the documentation on android.view.InputDevice for more details about input sources and their correct interpretation.